package com.rightsidetech.activity.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: yhr
 * @Date: 2021-12-23 17:38
 */
@Data
public class ActCouponActivityStatusReq implements Serializable {
    @ApiModelProperty("活动优惠券Id")
    @NotNull(message = "活动优惠券Id不能为空")
    private Long activityId;
    @ApiModelProperty("2已审核待发券 3已驳回")
    @NotNull(message = "审核状态不能为空")
    @Range(min = 2, max = 3, message = "审核状态不合法")
    private Byte status;
    @ApiModelProperty("驳回原因")
    private String rejectReason;
}
